<%-- 
    Document   : telephones
    Created on : 5 févr. 2013, 10:31:32
    Author     : Vincent
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="<c:url value="/inc/style.css" />" />
        <title>Modifier vos Téléphones</title>
    </head>
    <body>
        <div id="header">
            <c:import url="/inc/header.jsp"/>
        </div>

        <div id="article">
            <form method="post" action="<c:url value="/ctrl/telephones.jsp"/>">
                <input type="hidden" name="action" value="telephones" />
                
                <fieldset>

                    <legend>
                        Modification des Téléphones
                    </legend>
                    
                    <label for="phone1">
                        Tel 1 :
                    </label>
                    <input type="text" name="phone1" id="phone1"/>
                    <br>
                    
                    <label for="typeTel">Type :</label>
                    <select name="typeTel">
                        <option <c:if test="${TypTel.label == 'Maison'}">selected</c:if> >Maison</option>
                        <option <c:if test="${TypTel.label == 'Travail'}">selected</c:if> >Travail</option>
                        <option <c:if test="${TypTel.label == 'Autre'}">selected</c:if> >Autre</option>
                    </select>
                    <br>

                    <label for="phone2">
                        Tel 2 :
                    </label>
                    <input type="text" name="phone2" id="phone2"/>
                    <br>
                    
                    <label for="typeTel">Type :</label>
                    <select name="typeTel">
                        <option <c:if test="${TypTel.label == 'Maison'}">selected</c:if> >Maison</option>
                        <option <c:if test="${TypTel.label == 'Travail'}">selected</c:if> >Travail</option>
                        <option <c:if test="${TypTel.label == 'Autre'}">selected</c:if> >Autre</option>
                    </select>
                    <br>
                    <input type="submit" value="Valider"/>
                    <input type="reset" value="Annuler"/>
                </fieldset>
                    <br>
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                <a href="<c:url value="/Ctrl?section=compte&action=retour"/>">Retour</a>
        </div>
        <div id="nav">
            <c:import url="/inc/nav.jsp"/>
        </div>
        <div id="footer">
            <c:import url="/inc/footer.jsp"/>
        </div> 
    </body>
</html>
